Toward Formal Development of Programs from Algebraic Speciications: Implementations Revisited 1

نویسندگان

  • Donald Sannella
  • Andrzej Tarlecki
چکیده

The program development process is viewed as a sequence of implementation steps leading from a spe-ciication to a program. Based on an elementary notion of reenement, two notions of implementation are studied: constructor implementations which involve a construction \on top of" the implementing speciication, and abstractor implementations which additionally provide for abstraction from some details of the implemented speciication. These subsume most formal notions of implementation in the literature. Both kinds of implementations satisfy a vertical composition and a (modiied) horizontal composition property. All the deenitions and results are shown to generalise to the framework of an arbitrary institution, and a way of changing institutions during the implementation process is introduced. All this is illustrated by means of simple concrete examples.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Merging Formal

Industry acceptance of formal methods for software speciication could be improved by the availability of tools for direct derivation of prototype implementations from the speciication. We propose such a scenario, based on executable algebraic speciications and eecient implementation of functional languages. Our approach facilitates the incremental replacement of executable speciications by prod...

متن کامل

Using Formal Transformations to Construct a Component Repository

This paper discusses how theoretical results from the eld of program transformations can be applied to develop a new approach to software reuse. We describe a model for the semantics of nondeterministic programs and speciications and use this model to show how reenements and transformations of programs and speciications can be proved correct by reference to their corresponding Weakest Precondit...

متن کامل

Using algebraic specifications to find sequencing defects

One class of program defect results from illegal sequences of otherwise legal operations in software implementations. Expressions that specify the correct sequences can be written in the Cecil sequencing constraint language. Programs can then be checked at compile time by the Cesar analysis system. Explicit statement of sequencing constraints, however , is not a common activity when specifying ...

متن کامل

Formal Speciications in General, and Some Current Research Topics in Algebraic Speciications

1 The choice of formal speciications The importance of formal methods in software manufacturing is growing up. The use of formal methods becomes a sort of \label of quality" which is often considered as a guarantee of a certain level of software reliability. Of course, such an approach only takes sense if the objective itself is formally identiied. Consequently, formal methods rely on some form...

متن کامل

Generic Techniques for Source - Level Debuggingand Dynamic Program

Algebraic speciications have been used successfully as a formal basis for software development. The contribution of this paper is to show that the origin and dynamic dependence relations that are implicitly deened by an algebraic speciication can be used to deene powerful language-speciic tools. In particular, it is shown how tools for source-level debugging and dynamic program slicing can be d...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1988